package com.zenithmind.note.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 笔记评论视图对象
 */
@Data
@Schema(name = "笔记评论视图", description = "笔记评论视图")
public class NoteCommentVO {
    
    @Schema(description = "评论ID")
    private String id;
    
    @Schema(description = "笔记ID")
    private String noteId;
    
    @Schema(description = "评论用户ID")
    private String userId;
    
    @Schema(description = "评论用户名称")
    private String userName;
    
    @Schema(description = "评论用户头像")
    private String userAvatar;
    
    @Schema(description = "父评论ID")
    private String parentId;
    
    @Schema(description = "父评论用户名称")
    private String parentUserName;
    
    @Schema(description = "评论内容")
    private String content;
    
    @Schema(description = "点赞数")
    private Integer likeCount;
    
    @Schema(description = "当前用户是否点赞")
    private Boolean liked;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "子评论列表")
    private List<NoteCommentVO> children;
} 